Skip to content

Conversation

@rmolinamir
Copy link
Contributor

@rmolinamir rmolinamir commented Aug 21, 2025

Context

Closes: #49

Summary

Major changes:

  • 2,338 deletions, 1,128 additions - Net reduction of ~1,200 lines
  • Database schema refactor: Replaced complex block.schema.ts (347 lines) with simpler block-node.schema.ts (99 lines) and new document.schema.ts
  • API simplification: Heavily reduced blocks.ts and pages.ts routers
  • Editor consolidation: Removed 6 custom hook files and utilities, simplified to single block-editor.tsx
  • Cleanup: Removed test BlockNote components
  • New components: Added page-title-input.tsx and page-editor.dynamic.tsx

Key architectural changes:

  • Moved from complex nested block system to simpler document-based approach
  • Consolidated editor logic from multiple hooks into single component
  • Added new document router and block-note-tree utility

@rmolinamir rmolinamir requested a review from jorgebaralt August 21, 2025 06:15
@rmolinamir rmolinamir self-assigned this Aug 21, 2025
Copy link
Contributor

@jorgebaralt jorgebaralt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@jorgebaralt jorgebaralt merged commit e64f88e into main Aug 22, 2025
0 of 3 checks passed
@jorgebaralt jorgebaralt deleted the feature/block-editor branch August 22, 2025 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Pages] Graph-based editors

3 participants